package lab02.test06;

/**
 * Created by 123 on 2017/10/15.
 */
public class Ladder {
    //1属性
    double aboveLength;
    double followLength;
    double  high;
    double area;

    //2行为

    public double getArea() {
        this.area=((this.aboveLength+this.followLength)*this.high)/2;
        return this.area ;
    }
}
